package com.hbsi.demo1;

/**
 * @author 程奕红
 * @version 1.0
 */
public class TestYied {
    public static void main(String[] args) {
        YieldThread t1=new YieldThread("线程1");
        YieldThread t2=new YieldThread("线程2");
//        Thread t1=new Thread("线程1");
//        Thread t2=new Thread("线程2");
        t1.start();
        t2.start();
    }
}
